package com.hillky.springboot.service;

import com.github.pagehelper.PageInfo;
import com.hillky.springboot.controller.request.BaseRequest;
import com.hillky.springboot.controller.request.UserPageRequest;
import com.hillky.springboot.entity.User;
import com.hillky.springboot.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


public interface UserService {


    List<User> list();

    PageInfo<User> page(BaseRequest baseRequest);

    void save(User user);

    User getById(Integer id);

    void update(User user);

    void deleteById(Integer id);

    void handleAccount(User user);
}
